package com.shopoo.dto.cqe;


import com.shopoo.dto.Command;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class UserSmsCmd extends Command {

    /**
     * 用户ID
     */
    @Schema(title = "用户ID")
    private String userId;

    @Schema(title = "用户电话号")
    @NotNull(message = "用户电话号不能为空")
    private String phoneNum;

    /**
     * 用户密码
     */
    @Schema(title = "用户密码")
    private String password;

    @Schema(title = "发送短信验证码")
    private String smsCode;

    /**
     * 用户密码
     */
    @Schema(title = "用户校验密码")
    private String passwordConfirm;

}
